using System;
using Newtonsoft.Json;

namespace FBGraph.Models
{
    /// <summary>Contains information about the target of a <see cref="Post" />, <see cref="MailboxItem" /> or <see cref="Event" /> invitation</summary>
    public partial class To
    {
        /// <summary>The name of the targeted profile</summary>
        [JsonPropertyAttribute("name")]
        public String Name { get; set; }
        
        /// <summary>The Graph API id of the targeted profile</summary>
        [JsonPropertyAttribute("id")]
        public Int64 Id { get; set; }
        
        /// <summary>For event invitations, the start time of the event</summary>
        [JsonPropertyAttribute("start_time")]
        public DateTime StartTime { get; set; }
        
        /// <summary>For event invitations, the end time of the event</summary>
        [JsonPropertyAttribute("end_time")]
        public DateTime EndTime { get; set; }
        
        /// <summary>For event invitations, the location of the event</summary>
        [JsonPropertyAttribute("location")]
        public String Location { get; set; }
        
        /// <summary>For event invitations, the current RSVP status for the user</summary>
        [JsonPropertyAttribute("rsvp_status")]
        public Object RsvpStatus { get; set; }
    }
}